package com.ch.forum.service;

import com.ch.forum.bo.ResponseResult;
import com.ch.forum.model.ArtModel;

public interface ArticleService {

    void sendPreArticle(int num);

    ResponseResult addArticele(ArtModel art);

    ResponseResult findArtById(Long id);

    ResponseResult findArtList(int pageNo, int pageSize);

    ResponseResult findLatestPage(int pageNo, int pageSize);

    ResponseResult findSearchKeyWordsPage(int pageNo, int pageSize, String key);

    ResponseResult findArtListByUserId(Long userId, int pageNo, int pageSize);

    ResponseResult addZanNum(Long artId, Long userId);

    ResponseResult zanCancel(Long artId, Long userId);

}
